package com.example.rk.common;

import com.example.rk.service.impl.JobServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.util.StringUtils;


public class LoggerSearchInfo {
    private final static Logger logger= LoggerFactory.getLogger(JobServiceImpl.class);
    public static void loggerAdminSearchInfo(String key,String value)
    {
        if(StringUtils.hasLength(key) && StringUtils.hasLength(value))
        {
            logger.info("admin search info is:key="+key+",value="+value);
        }
    }
    public static void loggerAdminSearchInfo1(String key,String value)
    {
        if(StringUtils.hasLength(key) && StringUtils.hasLength(value))
        {
            logger.info("admin search info1 is:key="+key+",value="+value);
        }
    }
    public static void loggerAdminSearchInfo2(String key,String value)
    {
        if(StringUtils.hasLength(key) && StringUtils.hasLength(value))
        {
            logger.info("admin search info2 is:key="+key+",value="+value);
        }
    }
    public static void loggerAdminSearchInfo3(String key,String value)
    {
        if(StringUtils.hasLength(key) && StringUtils.hasLength(value))
        {
            logger.info("admin search info3 is:key="+key+",value="+value);
        }
    }
}
